package com.ruoyi.labour.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.labour.mapper.LabourWantJobMapper;
import com.ruoyi.labour.domain.LabourWantJob;
import com.ruoyi.labour.service.ILabourWantJobService;

/**
 * 求职信息Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-06-14
 */
@Service
public class LabourWantJobServiceImpl implements ILabourWantJobService 
{
    @Autowired
    private LabourWantJobMapper labourWantJobMapper;

    /**
     * 查询求职信息
     * 
     * @param id 求职信息主键
     * @return 求职信息
     */
    @Override
    public LabourWantJob selectLabourWantJobById(Long id)
    {
        return labourWantJobMapper.selectLabourWantJobById(id);
    }

    /**
     * 查询求职信息列表
     * 
     * @param labourWantJob 求职信息
     * @return 求职信息
     */
    @Override
    public List<LabourWantJob> selectLabourWantJobList(LabourWantJob labourWantJob)
    {
        return labourWantJobMapper.selectLabourWantJobList(labourWantJob);
    }

    /**
     * 新增求职信息
     * 
     * @param labourWantJob 求职信息
     * @return 结果
     */
    @Override
    public int insertLabourWantJob(LabourWantJob labourWantJob)
    {
        return labourWantJobMapper.insertLabourWantJob(labourWantJob);
    }

    /**
     * 修改求职信息
     * 
     * @param labourWantJob 求职信息
     * @return 结果
     */
    @Override
    public int updateLabourWantJob(LabourWantJob labourWantJob)
    {
        return labourWantJobMapper.updateLabourWantJob(labourWantJob);
    }

    /**
     * 批量删除求职信息
     * 
     * @param ids 需要删除的求职信息主键
     * @return 结果
     */
    @Override
    public int deleteLabourWantJobByIds(Long[] ids)
    {
        return labourWantJobMapper.deleteLabourWantJobByIds(ids);
    }

    /**
     * 删除求职信息信息
     * 
     * @param id 求职信息主键
     * @return 结果
     */
    @Override
    public int deleteLabourWantJobById(Long id)
    {
        return labourWantJobMapper.deleteLabourWantJobById(id);
    }
}
